package com.cdtye.itps.cms.mapper.direction;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cdtye.itps.cms.dao.direction.entity.JcDirection;
import com.cdtye.itps.cms.dao.direction.vo.JcDirectionVo;
import io.swagger.annotations.Api;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Api("行别 mapper")
@Repository
public interface JcDirectionMapper extends BaseMapper<JcDirection> {

    List<JcDirection> findAll();

    IPage<Map<String, Object>> pageList(IPage iPage, @Param("vo") JcDirectionVo vo);

    List<Map<String, Object>> getList(@Param("vo") JcDirectionVo vo);

    IPage<Map<String, Object>> pageList4Brain(IPage iPage, @Param("vo") JcDirectionVo vo);
}
